<div class="page">
    <div class="pageContent">
        <form method="post" action="{:U('update')}" class="pageForm required-validate" onsubmit="return validateCallback(this, doAjaxDone);">
            <div class="pageFormContent" layoutH="56">
                <div class="panel">
                    <h1>网站公告</h1>
                    <div>
                        <div class="tableList">
                            <table id="{$Think.ACTION_NAME}{$Think.MODULE_NAME}_attr_list" class="list">
                                <thead>
                                    <tr>
                                        <th width="400px">
                                            标题
                                        </th>
                                        <th width="320px">
                                            网址
                                        </th>
                                        <th width="80px">
                                            顺序
                                        </th>
                                    </tr>
                                </thead>
                                <tbody>
                                    <volist name="datalist" id="vo">
                                        <eq name="vo.type" value="1">
                                            <tr>
                                                <td>
                                                    <input type="hidden" name="bulletin[{$vo['bulletin_id']}][bulletin_id]" value="{$vo.bulletin_id}"/><input name="bulletin[{$vo['bulletin_id']}][title]" value="{$vo.title}" type="text" size="60"/>
                                                </td>
                                                <td>
                                                    <input name="bulletin[{$vo['bulletin_id']}][url]" value="{$vo.url}" type="text" size="50"/>
                                                </td>
                                                <td>
                                                    <input name="bulletin[{$vo['bulletin_id']}][oid]" value="{$vo.oid}" type="text" size="5"/>
                                                </td>
                                            </tr>
                                        </eq>
                                    </volist>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
                <div class="divider">
                </div>
                <div class="panel">
                    <h1>专题</h1>
                    <div>
                        <div class="tableList">
                            <table id="{$Think.ACTION_NAME}{$Think.MODULE_NAME}_attr_list" class="list">
                                <thead>
                                    <tr>
                                        <th width="200px">
                                            名称
                                        </th>
                                        <th width="180px">
                                            网址
                                        </th>
                                        <th width="180px">
                                            图片 
                                        </th>
                                        <th width="80px">
                                            顺序
                                        </th>
                                    </tr>
                                </thead>
                                <tbody>
                                    <volist name="datalist" id="vo">
                                        <eq name="vo.type" value="0">
                                            <tr>
                                                <td>
                                                    <input type="hidden" name="bulletin[{$vo['bulletin_id']}][bulletin_id]" value="{$vo.bulletin_id}"/><input name="bulletin[{$vo['bulletin_id']}][title]" value="{$vo.title}" type="text" size="40"/>
                                                </td>
                                                <td>
                                                    <input name="bulletin[{$vo['bulletin_id']}][url]" value="{$vo.url}" type="text" size="40"/>
                                                </td>
                                                <td>
                                                    <input name="bulletin[{$vo['bulletin_id']}][thumb]" value="{$vo.thumb}" type="text" size="40"/>
                                                </td>
                                                <td>
                                                    <input name="bulletin[{$vo['bulletin_id']}][oid]" value="{$vo.oid}" type="text" size="5"/>
                                                </td>
                                            </tr>
                                        </eq>
                                    </volist>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
            <div class="formBar">
                <ul>
                    <li>
                        <div class="buttonActive">
                            <div class="buttonContent">
                                <button type="submit">
                                    保存
                                </button>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="button">
                            <div class="buttonContent">
                                <button type="Button" onclick="navTab.closeCurrentTab()">
                                    取消
                                </button>
                            </div>
                        </div>
                    </li>
                </ul>
            </div>
        </form>
    </div>
</div>
